package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 题目选项
 *
 * @author ahuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("question_options")
public class QuestionOption extends BaseModel {
    @TableId(type = IdType.AUTO)
    private Long id; //主键ID
    private Long questionId; //题目ID
    private String optionCode; //选项编码
    private String content; //选项html内容
    private String contentText; //选项txt内容
    private Integer isCorrect; //是否正确答案
    private Integer sort; // 排序
}